package mortal.game.control
{
	import Message.Game.*;
	import Message.Public.*;
	
	import com.gengine.utils.*;
	
	import modules.*;
	
	import mortal.game.cache.*;
	import mortal.game.events.*;
	import mortal.game.manager.*;
	import mortal.game.model.*;
	import mortal.game.mvc.*;
	import mortal.game.resource.info.*;
	import mortal.game.view.system.*;
	import mortal.mvc.core.*;
	import mortal.mvc.interfaces.*;
	//import mortal.game.scene.layer.utils.*;
	//import mortal.game.view.chat.*;
	
	public class ChatController extends Controller
	{
		private var _chatModule:ChatModule;
		
		public function ChatController()
		{
			
		}
		
		override protected function initView():IView{
			if (this._chatModule == null)
			{
				this._chatModule = new ChatModule();
				this._chatModule.x = 0;
				this._chatModule.layer = LayerManager.uiLayer;
			}
			
			return _chatModule;
		}
	}
}